import itchat
itchat.login()
friend = itchat.get_friends(update=True)

print(friend)